FROM cnbcool/default-git-clone-env:latest

WORKDIR /module/

ENV NODE_ENV=production

COPY package.json package-lock.json ./

RUN npm ci --registry=https://mirrors.cloud.tencent.com/npm/

COPY bin/ /bin/
COPY conf/ /root/

ENV NODE_PATH="/module/node_modules"
ENV LANG=C.UTF-8

VOLUME /yyds

ENTRYPOINT /bin/entrypoint.sh
